package com.wxmp.market.zhuli.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxmp.core.page.Page;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class WxZhuliJoin extends Page implements Serializable {
    /**
     * 自增主键
     */
    private int id;

    /**
     * 活动编号
     */
    private String baseCode;

    /**
     * 当前活动发起标识
     */
    private String sendCode;

    /**
     * 参与活动用户ID
     */
    private String joinOpenid;

    /**
     * 参与二维码
     */
    private String JoinQRCode;

    /**
     * 昵称
     */
    private String joinNickname;

    /**
     * 参与时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private Date joinTime;

    private static final long serialVersionUID = 1L;
}
